/**
 * @file 主入口
 */

import { createApp } from 'vue';
import App from 'src/Widget/App';
import Fragment from 'vue-fragment';
import store from 'src/common/store/index';
import router from 'src/common/router';
import registerComponent from 'src/common/elementPlus';
import { createHead } from '@vueuse/head';
// 移动端字体大小自适应处理
import './common/utils/resize-font-size';
import 'element-plus/dist/index.css';
import 'src/common/css/base.less';
import 'vant/lib/index.css';
const app = createApp(App);
// 注册组件
registerComponent(app);
app.use(Fragment).use(router).use(store).use(createHead()).mount('#app');
